home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 January / macformat-033.iso / mac / Education / Dorling Kindersley / DK Atlas / DATA / shared.dir / 00280.ls < prev    next >
Encoding:
Text File  |  1995-04-25  |  637 b   |  25 lines

  1. on PCorMac eitherFN
  2.   if the machineType = 256 then
  3.     set type to "P"
  4.   else
  5.     set type to "M"
  6.   end if
  7.   put type into char length(eitherFN) - 4 of eitherFN
  8.   go("st", string(eitherFN))
  9. end
  10.  
  11. on GOER
  12.   global movielist
  13.   if getAt(movielist, count(movielist)) = (count(movielist) - 1) then
  14.     set movieName to getAt(movielist, 1)
  15.     setAt(movielist, count(movielist), 1)
  16.   else
  17.     set x to 1 + getAt(movielist, count(movielist))
  18.     setAt(movielist, count(movielist), x)
  19.     set movieName to getAt(movielist, x)
  20.   end if
  21.   set moviename2 to "@:" & chars(movieName, 2, length(movieName))
  22.   put moviename2
  23.   go("st", moviename2)
  24. end
  25.